

<div id="main">
    <div class="content">
        <div class="container">
            <div class="row">
                <div class="sidebar col-lg-3 col-md-3 col-sm-4 col-xs-12">
                    <!-- Search Widget Start -->
                  <!--  <div class="widget search-form">
                        <form class="input-group" action="/XJTA_Web/e/search/index.php" method="post" name="searchform">
                            <input type="hidden" name="tempid" value="2" />
                            &lt;!&ndash;搜索模版ID&ndash;&gt;
                            <input type="hidden" name="classid" value="11">
                            &lt;!&ndash;搜索栏目ID&ndash;&gt;
                            <input type="hidden" name="show" value="title,newstext,ftitle,pro,city,area,subtyp,serv,lbl" />
                            <input name="keyboard" type="text" value="搜索景区名、级别等关键字..."
                                   onfocus="
          if (this.value === '搜索景区名、级别等关键字...')
            this.value = '';" onblur="
                            if (this.value == '')
               this.value = '搜索景区名、级别等关键字...';"
                                   class="search-input form-control">
                            <span class="input-group-btn">
    <button type="submit" class="subscribe-btn btn"><i class="icon-search"></i></button>
    </span>
                        </form>
                    </div>-->

                    <!-- Search Widget End -->
                </div>
            </div>
            <div class="title-divider"></div>
            <div class="row">
                <div class="portfolio three-column">
                    {volist name="list" id="vo"}
                    <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 item">

                        <div class="portfolio-item">
                            <a href="/{$modelName[$vo['type']-1]}/details?id={$vo.id}">
                                <span class="portfolio-item-hover"></span>
                                <span class="fullscreen"><i class="icon-search"></i></span><img src="{$vo.cover_id|get_picture_url}" alt="喀拉峻-世界自然遗产" title = "查看详情"/>
                            </a>
                            <div class="portfolio-item-title">
                                <a href="/XJTA_Web/ZH_CN/Tourism_Resource/Tourism_Scenery/13.html">{$vo.name}</a>

                            </div>
                            <div class="clearfix"></div>
                        </div>

                    </div>
                    {/volist}
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    function setCollection(id){
        var url = "{:url('/api.php/collection/setSceneryCollection')}";
        $.post(url,{id:id},function(e){
            if (e.code==2){
                alert(e.msg);
                window.location.href = e.data.url;
            }else{
                alert(e.msg);
            }
        })
    }
 
</script>
<script>
    lightGallery(document.getElementById('lightgallery'));
</script>